/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pig.goods.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author pig code generator
 * @date 2021-07-15 19:29:58
 */
@Data
@TableName("tb_goods")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
public class TbGoods extends Model<TbGoods> {
private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value="主键")
    private Long id;
    /**
     * 商家ID
     */
    @ApiModelProperty(value="商家ID")
    private String sellerId;
    /**
     * SPU名
     */
    @ApiModelProperty(value="SPU名")
    private String goodsName;
    /**
     * 默认SKU
     */
    @ApiModelProperty(value="默认SKU")
    private Long defaultItemId;
    /**
     * 状态
     */
    @ApiModelProperty(value="状态")
    private String auditStatus;
    /**
     * 是否上架
     */
    @ApiModelProperty(value="是否上架")
    private String isMarketable;
    /**
     * 品牌
     */
    @ApiModelProperty(value="品牌")
    private Long brandId;
    /**
     * 副标题
     */
    @ApiModelProperty(value="副标题")
    private String caption;
    /**
     * 一级类目
     */
    @ApiModelProperty(value="一级类目")
    private Long category1Id;
    /**
     * 二级类目
     */
    @ApiModelProperty(value="二级类目")
    private Long category2Id;
    /**
     * 三级类目
     */
    @ApiModelProperty(value="三级类目")
    private Long category3Id;
    /**
     * 小图
     */
    @ApiModelProperty(value="小图")
    private String smallPic;
    /**
     * 商城价
     */
    @ApiModelProperty(value="商城价")
    private BigDecimal price;
    /**
     * 分类模板ID
     */
    @ApiModelProperty(value="分类模板ID")
    private Long typeTemplateId;
    /**
     * 是否启用规格
     */
    @ApiModelProperty(value="是否启用规格")
    private String isEnableSpec;
    /**
     * 是否删除
     */
    @ApiModelProperty(value="是否删除")
    private String isDelete;
    }




